Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vcl/form-control-label

Package Overview
Dependencies
Maintainers
4
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vcl/form-control-label

Labels to describe form controls

  • 0.3.0
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by200%
Maintainers
4
Weekly downloads
 
Created
Source

VCL form-control-label

Label to describe form controls.

Features

  • Basic label and multi line labels.
  • Sub label.
  • Indicator for required form fields.
  • Hints for form controls.

Form control hints are typically used to provide assistance with input validation.

Usage

Basic Usage

basic example

Advanced

Visual indication that the field must be filled in.

label-required example

The sub label is a secondary, more verbose label.

label-sub example

The hint may be used to assist the user with his input while the field is filled in.

hint example

Classes

  • vclFormControlLabel: The label
  • vclFormControlSubLabel: Additional, less prominent label
  • vclRequiredIndicator: Indicator for required fields, usually a single character
  • vclFormControlHint: Assisting hint usually shown while field is filled in

Modifiers

  • vclFormControlLabelWrapping: To be used if the label encloses the control.
  • vclDisabled: Disabled indication that label can be clicked.

Variables

  • --form-control-sublabel-color
  • --form-control-label-line-height
  • --form-control-label-font-size
  • --form-control-label-font-weight
  • --form-control-label-color
  • --form-control-label-required-hint-color
  • --form-control-hint-color

Demo

example.html on GH-pages.

Keywords

FAQs

Package last updated on 15 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc